package com.yuxi.vo;

import com.yuxi.pubInter.FrontController;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author sunke
 * @Date 2023-10-13 10:05:04
 * @description ProductDetailDomainVO      产品
 */

@Data
@ApiModel("产品DetailDomainVO")
public class ProductDetailDomainVO extends ProductDomainVO {


    @ApiModelProperty("产品分类")
    private String typeName;
    @ApiModelProperty("产品分类上级")
    private String upTypeName;
    @ApiModelProperty("产品分类上级ID")
    private String upTypeId;
    /**
     * 小图
     */

    @ApiModelProperty(value = "小图")
    private String fullSmallImg;
    /**
     * 大图
     */

    @ApiModelProperty(value = "大图")
    private String fullBigImg;
    /**
     * wap小图
     */

    @ApiModelProperty(value = "wap小图")
    private String fullWapSmallImg;
    /**
     * wap大图
     */

    @ApiModelProperty(value = "wap大图")
    private String fullWapBigImg;
    /**
     * 广告图
     */

    @ApiModelProperty(value = "广告图")
    private String fullBanner;
    /**
     * wap 广告图
     */

    @ApiModelProperty(value = "wap 广告图")
    private String fullWapBanner;

    public String getFullSmallImg() {
        fullSmallImg = FrontController.getIntactImg(getSmallImg());
        return fullSmallImg;
    }

    public String getFullBigImg() {
        fullBigImg = FrontController.getIntactImg(getBigImg());
        return fullBigImg;
    }

    public String getFullWapSmallImg() {
        fullWapSmallImg = FrontController.getIntactImg(getWapSmallImg());
        return fullWapSmallImg;
    }

    public String getFullWapBigImg() {
        fullWapBigImg = FrontController.getIntactImg(getWapBigImg());
        return fullWapBigImg;
    }

    public String getFullBanner() {
        fullBanner = FrontController.getIntactImg(getBanner());
        return fullBanner;
    }

    public String getFullWapBanner() {
        fullWapBanner = FrontController.getIntactImg(getWapBanner());
        return fullWapBanner;
    }


}